package start;

public class B {
    private A a=new A();
    private C c;
    public B() {
        System.out.println("B create..");
    }

    public void setA(A a) {
        this.a = a;
    }

    public A getA() {
        return a;
    }

    public void setC(C c) {
        this.c = c;
    }

    public C getC() {
        return c;
    }
}
